const crypto/internal/nistec.p384ElementLength
18 uses
crypto/internal/nistec (current package)
p384.go#L18: const p384ElementLength = 48
p384.go#L63: case len(b) == 1+2*p384ElementLength && b[0] == 4:
p384.go#L64: x, err := new(fiat.P384Element).SetBytes(b[1 : 1+p384ElementLength])
p384.go#L68: y, err := new(fiat.P384Element).SetBytes(b[1+p384ElementLength:])
p384.go#L81: case len(b) == 1+p384ElementLength && (b[0] == 2 || b[0] == 3):
p384.go#L97: cond := y.Bytes()[p384ElementLength-1]&1 ^ b[0]&1
p384.go#L148: var out [1 + 2*p384ElementLength]byte
p384.go#L152: func (p *P384Point) bytes(out *[1 + 2*p384ElementLength]byte) []byte {
p384.go#L172: var out [p384ElementLength]byte
p384.go#L176: func (p *P384Point) bytesX(out *[p384ElementLength]byte) ([]byte, error) {
p384.go#L193: var out [1 + p384ElementLength]byte
p384.go#L197: func (p *P384Point) bytesCompressed(out *[1 + p384ElementLength]byte) []byte {
p384.go#L209: buf[0] |= y.Bytes()[p384ElementLength-1] & 1
p384.go#L386: var p384GeneratorTable *[p384ElementLength * 2]p384Table
p384.go#L392: func (p *P384Point) generatorTable() *[p384ElementLength * 2]p384Table {
p384.go#L394: p384GeneratorTable = new([p384ElementLength * 2]p384Table)
p384.go#L396: for i := 0; i < p384ElementLength*2; i++ {
p384.go#L413: if len(scalar) != p384ElementLength {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |